from tools.request import send


def home_page_search(keyword):
    method = 'GET'
    path = f'/api/products?keyword={keyword}&page=1&limit=8'
    return send(method, path)


if __name__ == '__main__':
    print(home_page_search('手机').text)
